<template>
  <div class="shortnews">
    <el-breadcrumb separator-class="el-icon-arrow-right" style="box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);line-height: 3;padding-left: 1em;">
      <el-breadcrumb-item>营销核验</el-breadcrumb-item>
      <el-breadcrumb-item>短信核销</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="manle">
      <div class="boxman">
        <div class="tac">短信码核销</div>
        <ul>
          <li class="flex">
            <div>手机号：</div>
            <input v-model="formName.input" placeholder="请输入手机号"></input>
          </li>
          <li class="flex">
            <div ><span style="letter-spacing: 5px;">券号</span>：</div>
            <input v-model="formName.input1" placeholder="请输入券号"></input>
          </li>
          <li class="flex">
            <div>短信码：</div>
            <input v-model="formName.input2" placeholder="请输入短信码"></input>
          </li>
        </ul>
        <div class="btn">
          <el-button type="info" plain  @click="resetForm(formName)">清空</el-button>
          <el-button type="primary">确认</el-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
  data() {
    return {
      formName:{
        input: '',
        input1: '',
        input2: '',
      }
    }
  },
   methods: {
    resetForm(formName) {
      console.log(formName)
      this.formName = {
        input: '',
        input1: '',
        input2: ''
      }
 console.log(this.formName)
    }
  }
}
</script>

<style scoped>
  .tac{
    font-size: 18px;
    line-height: 60px;
    text-indent: 1em;
  }
  .boxman{
    width: 800px;
    height: 400px;
    margin: 80px auto;
    box-shadow: 0 2px 12px 0 rgba(57, 113, 153);
    border-radius:2px ;
    font-size: 14px;
    color: #606266;
  }
  .boxman ul{
    margin-left: 110px;
    margin-top: 30px;
  }
  .boxman ul li{
    border: solid 1px #d2d4d6;
    width:60% ;
    height: 40px;
    border-radius:4px ;
    line-height: 40px;
    margin-bottom: 15px;
  }
  .boxman ul li>div{
    width: 80px;
    text-align: right;
  }
  .boxman ul li>input{
    width: 100%;
    height: 100%;
    /* padding:0 10px; */
    border: none;
  }
  .btn{
    text-align: center;
    margin-top: 50px;
  }
</style>
